package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;

public interface QuantitytypeDAO extends JpaDao<Quantitytype> {

	public Quantitytype findQuantitytypeById(Integer id) throws DataAccessException;

	public Quantitytype findQuantitytypeById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Quantitytype> findQuantitytypeByName(String name) throws DataAccessException;

	public Set<Quantitytype> findQuantitytypeByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Quantitytype> findQuantitytypeByNameContaining(String name_1) throws DataAccessException;

	public Set<Quantitytype> findQuantitytypeByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Quantitytype> findQuantitytypeByDescription(String description) throws DataAccessException;

	public Set<Quantitytype> findQuantitytypeByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Quantitytype> findQuantitytypeByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Quantitytype> findQuantitytypeByDescriptionContaining(String description_1, int startResult, int maxRows)
			throws DataAccessException;

	public Quantitytype findQuantitytypeByPrimaryKey(Integer id) throws DataAccessException;

	public Quantitytype findQuantitytypeByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Quantitytype> findQuantitytypesByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Quantitytype> findAllQuantitytypes() throws DataAccessException;

	public Set<Quantitytype> findAllQuantitytypes(int startResult, int maxRows) throws DataAccessException;

	public Set<Quantitytype> findQuantitytypeByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Quantitytype> findQuantitytypesByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Quantitytype findQuantitytypeByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Quantitytype findQuantitytypeByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
